﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZR.Model.mes.md;

namespace ZR.Service.mes.md.IService
{
    public interface IMdDeviceService
    {
        int AddDevice(MdDevice device);

        public (int, List<MdDevice>) GetAll(string deviceCode, string deviceName, int pageNum, int pageSize);
        public int UpdateDevice(MdDevice workshop);

        public int deleteDevice(int[] ids);

        public List<MdWorkstation> getworkstationList();
    }
}
